package com.yanqu.road.server.logic.activity.condition;

import com.yanqu.road.entity.activity.ActivityConditionInfo;
import com.yanqu.road.entity.activity.ActivityInfo;
import com.yanqu.road.server.logic.activity.BaseActivityData;
import com.yanqu.road.server.manger.rank.YRankMgr;

public abstract class BaseUnionYRankCondition extends BaseActivityCondition {

    public BaseUnionYRankCondition(ActivityInfo activityInfo, ActivityConditionInfo activityConditionInfo, BaseActivityData baseActivityData) {
        super(activityInfo, activityConditionInfo, baseActivityData);
    }

    protected void rankChange(String unionUid, int notifyType) {
        YRankMgr.uploadUnionYRank(baseActivityData.getUserActivityConditionData(getConditionId()), unionUid, notifyType);
    }

}
